﻿using System.ComponentModel;
namespace VASJ.Common
{
    public class Definition : Constants
    {
        public static string KeToanConnectionString = "KeToanConnectionString";

        public const string ENCRYPT_PASS_PHRASE = "Pas5pr@se";              // can be any string
        public const string ENCRYPT_SALT_VALUE = "s@1tValue";               // can be any string
        public const string ENCRYPT_HASH_ALGORITHM = "SHA1";                // can be "MD5"
        public const int ENCRYPT_PASSWORD_ITERATIONS = 4;                   // can be any number
        public const string ENCRYPT_INIT_VECTOR = "@1B2c3D4e5F6g7H8";       // must be 16 bytes
        public const int ENCRYPT_KEY_SIZE = 256;                            // can be 192 or 128
        public const int ENCRYPT_KEY_SIZE_SMALL = 128;                      // can be 192 or 128

        public const string VietnamLanguage = "vi-VN";
        public const string EnglishLanguage = "en-US";
    }

    public enum TypeSubForms
    {
        [Description("Thêm mới {0}")]
        New,
        [Description("Sửa {0}")]
        Edit
    }

    public enum DanhMuc
    {
        NavNhomKhachHang,
        NavNhomVuViec,
        NavNhomVatTu,
        NavNhomTaiSan,
        NavNhomCongCu
    }

    public enum Functions
    {
        [Description("Mở màn hình cấu hình")]
        OpenConfiguration
    }
}